﻿using System.Web;
using System.Web.Optimization;

namespace LoveEat.Admin
{
    public class BundleConfig
    {
        // 有关绑定的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new StyleBundle("~/Content/default").Include(
               "~/Content/css/bootstrap.min.css",
               "~/Content/css/Index.css",
               "~/Content/css/base.css",
               "~/Content/css/xcConfirm.css"
               ));

            bundles.Add(new ScriptBundle("~/Content/time").Include(
                      "~/Content/css/bootstrap.min.css",
                      "~/Content/css/Index.css",
                      "~/Content/css/base.css"));
            //编辑器
            bundles.Add(new StyleBundle("~/Content/editorcss").Include(
                        "~/Content/editor/css/editormd.css"
                        ));
            bundles.Add(new ScriptBundle("~/bundles/layoutLibrary").Include(
                     "~/Content/Scripts/jquery-1.10.2.js",
                     "~/Content/Scripts/WdatePicker.js",
                      "~/Content/Scripts/jquery.validate.js",
                      "~/Content/Scripts/jquery.unobtrusive-ajax.js",
                     "~/Content/Scripts/jjquery.validate.unobtrusive.js",
                     "~/Content/Scripts/jquery-ui-1.10.1.custom.min.js",
                     "~/Content/Scripts/jquery.slimscroll.min.js",
                     "~/Content/Scripts/bootstrap.js",
                     "~/Content/Scripts/app.js",
                     "~/Content/Scripts/xcConfirm.js"
                     ));
            bundles.Add(new ScriptBundle("~/bundles/wdate/kk/date/ds").Include(
                     "~/Content/Scripts/plugins/DatePicker/WdatePicker.js"
                     ));
            //编辑器
            bundles.Add(new ScriptBundle("~/Content/editorjs").Include(
                    "~/Content/editor/editormd.js"
                    ));
        }
    }
}
